package mc0101.mccache.param;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Data
@Component
@ConfigurationProperties(prefix = "spring.redis")
public class RedisClusterParam {

	// 集群节点的ip和端口
	private String jedisClusterNode;
	// 集群连接超时时间
	private int connectionTimeout;
	// 读取数据超时
	private int soTimeout;
	// 最大尝试次数
	private int maxAttempts;
	// 集群的密码
	private String password;
}
